package com.jsgt.greekfire.ui.mine.coindetail.recharge.coinchoose

import com.fhx.core.base.BaseActivity
import com.jsgt.greekfire.R
import com.jsgt.greekfire.ui.mine.coindetail.recharge.coinchoose.adapter.CoinSearchAdapter
import com.jsgt.greekfire.bean.CoinBean
import kotlinx.android.synthetic.main.activity_coin_choose.*

/**
 * 币种选择
 * author fhx
 * create time 2020/4/24 14:11
 **/
class CoinChooseActivity : BaseActivity() {
    override fun getLayoutId(): Int = R.layout.activity_coin_choose

    override fun main() {
        title = getString(R.string.coin_type_choose)
        val searchAdapter =
            CoinSearchAdapter()
        val searchList = arrayListOf<CoinBean>()
        for (i in 1..10) {
            searchList.add(CoinBean())
        }
        searchAdapter.addData(searchList)
        coin_choose_rv.adapter = searchAdapter
    }
}